package hc.mvcappdemo;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@Service
public class DemoService {
	@Value("${test.url:world.anywhere}")
	public String test_url;

//	@Value("${test.port:9999}")
	public int port;

	@Override
	public String toString() {
		return "DemoService [test_url=" + test_url + ", port=" + port + "]";
	}

}
